projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ffeb59
)
Fix up builder test
author
Matthias Clasen
<mclasen@redhat.com>
Tue, 4 Mar 2014 04:30:55 +0000
(23:30 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Tue, 4 Mar 2014 04:31:48 +0000
(23:31 -0500)
Dialogs now report two children. Thats alright, adapt
the test to deal with it.
testsuite/gtk/builder.c
patch
|
blob
|
history
diff --git
a/testsuite/gtk/builder.c
b/testsuite/gtk/builder.c
index f0f1a1403ac9b5d8cc7c1b95ed1610ab6dad33ed..43a0441606e648a462696ae35adaaf7399612b86 100644
(file)
--- a/
testsuite/gtk/builder.c
+++ b/
testsuite/gtk/builder.c
@@
-1028,7
+1028,7
@@
test_children (void)
g_assert (dialog != NULL);
g_assert (GTK_IS_DIALOG (dialog));
children = gtk_container_get_children (GTK_CONTAINER (dialog));
- g_assert (g_list_length (children) ==
1
);
+ g_assert (g_list_length (children) ==
2
);
g_list_free (children);
vbox = gtk_builder_get_object (builder, "dialog1-vbox");